!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.moment=t()}(this,function(){"use strict";function e(){return xs.apply(null,arguments)}function t(e){xs=e}function n(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function i(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function r(e){return void 0===e}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function o(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,s=[];for(n=0;n0)for(n=0;n0?"future":"past"];return Y(n)?n(t):n.replace(/%s/i,t)}function U(e,t){var n=e.toLowerCase();Gs[n]=Gs[n+"s"]=Gs[t]=e}function N(e){return"string"==typeof e?Gs[e]||Gs[e.toLowerCase()]:void 0}function H(e){var t,n,s={};for(n in e)l(e,n)&&(t=N(n),t&&(s[t]=e[n]));return s}function L(e,t){Vs[e]=t}function G(e){var t=[];for(var n in e)t.push({unit:n,priority:Vs[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t,n){var s=""+Math.abs(e),i=t-s.length,r=e>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+s}function j(e,t,n,s){var i=s;"string"==typeof s&&(i=function(){return this[s]()}),e&&(As[e]=i),t&&(As[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(As[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function I(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function E(e){var t,n,s=e.match(js);for(t=0,n=s.length;t=0&&Is.test(e);)e=e.replace(Is,n),Is.lastIndex=0,s-=1;return e}function Z(e,t,n){ui[e]=Y(t)?t:function(e,s){return e&&n?n:t}}function $(e,t){return l(ui,e)?ui[e](t._strict,t._locale):new RegExp(q(e))}function q(e){return J(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,s,i){return t||n||s||i}))}function J(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function B(e,t){var n,s=t;for("string"==typeof e&&(e=[e]),a(t)&&(s=function(e,n){n[t]=v(e)}),n=0;n=0&&isFinite(o.getFullYear())&&o.setFullYear(e),o}function ve(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function Me(e,t,n){var s=7+t-n,i=(7+ve(e,0,s).getUTCDay()-t)%7;return-i+s-1}function ke(e,t,n,s,i){var r,a,o=(7+n-s)%7,u=Me(e,s,i),l=1+7*(t-1)+o+u;return l<=0?(r=e-1,a=K(r)+l):l>K(e)?(r=e+1,a=l-K(e)):(r=e,a=l),{year:r,dayOfYear:a}}function Se(e,t,n){var s,i,r=Me(e.year(),t,n),a=Math.floor((e.dayOfYear()-r-1)/7)+1;return a<1?(i=e.year()-1,s=a+De(i,t,n)):a>De(e.year(),t,n)?(s=a-De(e.year(),t,n),i=e.year()+1):(i=e.year(),s=a),{week:s,year:i}}function De(e,t,n){var s=Me(e,t,n),i=Me(e+1,t,n);return(K(e)-s+i)/7}function Ye(e){return Se(e,this._week.dow,this._week.doy).week}function Oe(){return this._week.dow}function xe(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function be(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Pe(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function We(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Re(e,t){return e?n(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:n(this._weekdays)?this._weekdays:this._weekdays.standalone}function Ce(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Fe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ue(e,t,n){var s,i,r,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],s=0;s<7;++s)r=h([2e3,1]).day(s),this._minWeekdaysParse[s]=this.weekdaysMin(r,"").toLocaleLowerCase(),this._shortWeekdaysParse[s]=this.weekdaysShort(r,"").toLocaleLowerCase(),this._weekdaysParse[s]=this.weekdays(r,"").toLocaleLowerCase();return n?"dddd"===t?(i=wi.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wi.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wi.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wi.call(this._weekdaysParse,a),i!==-1?i:(i=wi.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wi.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wi.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wi.call(this._weekdaysParse,a),i!==-1?i:(i=wi.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wi.call(this._minWeekdaysParse,a),i!==-1?i:(i=wi.call(this._weekdaysParse,a),i!==-1?i:(i=wi.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Ne(e,t,n){var s,i,r;if(this._weekdaysParseExact)return Ue.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),s=0;s<7;s++){if(i=h([2e3,1]).day(s),n&&!this._fullWeekdaysParse[s]&&(this._fullWeekdaysParse[s]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[s]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[s]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[s]||(r="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[s]=new RegExp(r.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[s].test(e))return s;if(n&&"ddd"===t&&this._shortWeekdaysParse[s].test(e))return s;if(n&&"dd"===t&&this._minWeekdaysParse[s].test(e))return s;if(!n&&this._weekdaysParse[s].test(e))return s}}function He(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Pe(e,this.localeData()),this.add(e-t,"d")):t}function Le(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Ge(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=We(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ee.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=Pi),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function je(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ee.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Wi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ie(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ee.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ri),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ee(){function e(e,t){return t.length-e.length}var t,n,s,i,r,a=[],o=[],u=[],l=[];for(t=0;t<7;t++)n=h([2e3,1]).day(t),s=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),r=this.weekdays(n,""),a.push(s),o.push(i),u.push(r),l.push(s),l.push(i),l.push(r);for(a.sort(e),o.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)o[t]=J(o[t]),u[t]=J(u[t]),l[t]=J(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ae(){return this.hours()%12||12}function ze(){return this.hours()||24}function Ze(e,t){j(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function $e(e,t){return t._meridiemParse}function qe(e){return"p"===(e+"").toLowerCase().charAt(0)}function Je(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Be(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,s,i,r=0;r0;){if(s=Xe(i.slice(0,t).join("-")))return s;if(n&&n.length>=t&&M(i,n,!0)>=t-1)break;t--}r++}return null}function Xe(e){var t=null;if(!Hi[e]&&"undefined"!=typeof module&&module&&module.exports)try{t=Ci._abbr;var n=require;n("./locale/"+e),Ke(t)}catch(s){}return Hi[e]}function Ke(e,t){var n;return e&&(n=r(t)?nt(e):et(e,t),n&&(Ci=n)),Ci._abbr}function et(e,t){if(null!==t){var n=Ni;if(t.abbr=e,null!=Hi[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Hi[e]._config;else if(null!=t.parentLocale){if(null==Hi[t.parentLocale])return Li[t.parentLocale]||(Li[t.parentLocale]=[]),Li[t.parentLocale].push({name:e,config:t}),null;n=Hi[t.parentLocale]._config}return Hi[e]=new T(x(n,t)),Li[e]&&Li[e].forEach(function(e){et(e.name,e.config)}),Ke(e),Hi[e]}return delete Hi[e],null}function tt(e,t){if(null!=t){var n,s,i=Ni;s=Xe(e),null!=s&&(i=s._config),t=x(i,t),n=new T(t),n.parentLocale=Hi[e],Hi[e]=n,Ke(e)}else null!=Hi[e]&&(null!=Hi[e].parentLocale?Hi[e]=Hi[e].parentLocale:null!=Hi[e]&&delete Hi[e]);return Hi[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Ci;if(!n(e)){if(t=Xe(e))return t;e=[e]}return Qe(e)}function st(){return Rs(Hi)}function it(e){var t,n=e._a;return n&&f(e).overflow===-2&&(t=n[hi]<0||n[hi]>11?hi:n[ci]<1||n[ci]>ue(n[di],n[hi])?ci:n[fi]<0||n[fi]>24||24===n[fi]&&(0!==n[mi]||0!==n[_i]||0!==n[yi])?fi:n[mi]<0||n[mi]>59?mi:n[_i]<0||n[_i]>59?_i:n[yi]<0||n[yi]>999?yi:-1,f(e)._overflowDayOfYear&&(tci)&&(t=ci),f(e)._overflowWeeks&&t===-1&&(t=gi),f(e)._overflowWeekday&&t===-1&&(t=pi),f(e).overflow=t),e}function rt(e,t,n){return null!=e?e:null!=t?t:n}function at(t){var n=new Date(e.now());return t._useUTC?[n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate()]:[n.getFullYear(),n.getMonth(),n.getDate()]}function ot(e){var t,n,s,i,r=[];if(!e._d){for(s=at(e),e._w&&null==e._a[ci]&&null==e._a[hi]&&ut(e),null!=e._dayOfYear&&(i=rt(e._a[di],s[di]),(e._dayOfYear>K(i)||0===e._dayOfYear)&&(f(e)._overflowDayOfYear=!0),n=ve(i,0,e._dayOfYear),e._a[hi]=n.getUTCMonth(),e._a[ci]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=r[t]=s[t];for(;t<7;t++)e._a[t]=r[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[fi]&&0===e._a[mi]&&0===e._a[_i]&&0===e._a[yi]&&(e._nextDay=!0,e._a[fi]=0),e._d=(e._useUTC?ve:we).apply(null,r),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[fi]=24),e._w&&"undefined"!=typeof e._w.d&&e._w.d!==e._d.getDay()&&(f(e).weekdayMismatch=!0)}}function ut(e){var t,n,s,i,r,a,o,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)r=1,a=4,n=rt(t.GG,e._a[di],Se(Yt(),1,4).year),s=rt(t.W,1),i=rt(t.E,1),(i<1||i>7)&&(u=!0);else{r=e._locale._week.dow,a=e._locale._week.doy;var l=Se(Yt(),r,a);n=rt(t.gg,e._a[di],l.year),s=rt(t.w,l.week),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+r,(t.e<0||t.e>6)&&(u=!0)):i=r}s<1||s>De(n,r,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(o=ke(n,s,i,r,a),e._a[di]=o.year,e._dayOfYear=o.dayOfYear)}function lt(e){var t,n,s,i,r,a,o=e._i,u=Gi.exec(o)||Vi.exec(o);if(u){for(f(e).iso=!0,t=0,n=Ii.length;t0&&f(t).unusedInput.push(a),o=o.slice(o.indexOf(s)+s.length),l+=s.length),As[r]?(s?f(t).empty=!1:f(t).unusedTokens.push(r),X(r,s,t)):t._strict&&!s&&f(t).unusedTokens.push(r);f(t).charsLeftOver=u-l,o.length>0&&f(t).unusedInput.push(o),t._a[fi]<=12&&f(t).bigHour===!0&&t._a[fi]>0&&(f(t).bigHour=void 0),f(t).parsedDateParts=t._a.slice(0),f(t).meridiem=t._meridiem,t._a[fi]=pt(t._locale,t._a[fi],t._meridiem),ot(t),it(t)}function pt(e,t,n){var s;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(s=e.isPM(n),s&&t<12&&(t+=12),s||12!==t||(t=0),t):t}function wt(e){var t,n,s,i,r;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Zt(){if(!r(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),e=kt(e),e._a){var t=e._isUTC?h(e._a):Yt(e._a);this._isDSTShifted=this.isValid()&&M(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function $t(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function Jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Bt(e,t){var n,s,i,r=e,o=null;return Ct(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(r={},t?r[t]=e:r.milliseconds=e):(o=Xi.exec(e))?(n="-"===o[1]?-1:1,r={y:0,d:v(o[ci])*n,h:v(o[fi])*n,m:v(o[mi])*n,s:v(o[_i])*n,ms:v(Ft(1e3*o[yi]))*n}):(o=Ki.exec(e))?(n="-"===o[1]?-1:("+"===o[1],1),r={y:Qt(o[2],n),M:Qt(o[3],n),w:Qt(o[4],n),d:Qt(o[5],n),h:Qt(o[6],n),m:Qt(o[7],n),s:Qt(o[8],n)}):null==r?r={}:"object"==typeof r&&("from"in r||"to"in r)&&(i=Kt(Yt(r.from),Yt(r.to)),r={},r.ms=i.milliseconds,r.M=i.months),s=new Rt(r),Ct(e)&&l(e,"_locale")&&(s._locale=e._locale),s}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Xt(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Kt(e,t){var n;return e.isValid()&&t.isValid()?(t=Ht(t,e),e.isBefore(t)?n=Xt(e,t):(n=Xt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function en(e,t){return function(n,s){var i,r;return null===s||isNaN(+s)||(D(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),r=n,n=s,s=r),n="string"==typeof n?+n:n,i=Bt(n,s),tn(this,i,e),this}}function tn(t,n,s,i){var r=n._milliseconds,a=Ft(n._days),o=Ft(n._months);t.isValid()&&(i=null==i||i,o&&fe(t,se(t,"Month")+o*s),a&&ie(t,"Date",se(t,"Date")+a*s),r&&t._d.setTime(t._d.valueOf()+r*s),i&&e.updateOffset(t,a||o))}function nn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function sn(t,n){var s=t||Yt(),i=Ht(s,this).startOf("day"),r=e.calendarFormat(this,i)||"sameElse",a=n&&(Y(n[r])?n[r].call(this,s):n[r]);return this.format(a||this.localeData().calendar(r,this,Yt(s)))}function rn(){return new g(this)}function an(e,t){var n=p(e)?e:Yt(e);return!(!this.isValid()||!n.isValid())&&(t=N(r(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()9999?A(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):Y(Date.prototype.toISOString)?this.toDate().toISOString():A(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function yn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',s=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",r=t+'[")]';return this.format(n+s+i+r)}function gn(t){t||(t=this.isUtc()?e.defaultFormatUtc:e.defaultFormat);var n=A(this,t);return this.localeData().postformat(n)}function pn(e,t){return this.isValid()&&(p(e)&&e.isValid()||Yt(e).isValid())?Bt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.from(Yt(),e)}function vn(e,t){return this.isValid()&&(p(e)&&e.isValid()||Yt(e).isValid())?Bt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function Mn(e){return this.to(Yt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=nt(e),null!=t&&(this._locale=t),this)}function Sn(){return this._locale}function Dn(e){switch(e=N(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Yn(e){return e=N(e),void 0===e||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function On(){return this._d.valueOf()-6e4*(this._offset||0)}function xn(){ return Math.floor(this.valueOf()/1e3)}function Tn(){return new Date(this.valueOf())}function bn(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Pn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Wn(){return this.isValid()?this.toISOString():null}function Rn(){return m(this)}function Cn(){return d({},f(this))}function Fn(){return f(this).overflow}function Un(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Nn(e,t){j(0,[e,e.length],0,t)}function Hn(e){return jn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Ln(e){return jn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Gn(){return De(this.year(),1,4)}function Vn(){var e=this.localeData()._week;return De(this.year(),e.dow,e.doy)}function jn(e,t,n,s,i){var r;return null==e?Se(this,s,i).year:(r=De(e,s,i),t>r&&(t=r),In.call(this,e,t,n,s,i))}function In(e,t,n,s,i){var r=ke(e,t,n,s,i),a=ve(r.year,0,r.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function En(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function An(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function zn(e,t){t[yi]=v(1e3*("0."+e))}function Zn(){return this._isUTC?"UTC":""}function $n(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return Yt(1e3*e)}function Jn(){return Yt.apply(null,arguments).parseZone()}function Bn(e){return e}function Qn(e,t,n,s){var i=nt(),r=h().set(s,t);return i[n](r,e)}function Xn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var s,i=[];for(s=0;s<12;s++)i[s]=Qn(e,s,n,"month");return i}function Kn(e,t,n,s){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),r=e?i._week.dow:0;if(null!=n)return Qn(t,(n+r)%7,s,"day");var o,u=[];for(o=0;o<7;o++)u[o]=Qn(t,(o+r)%7,s,"day");return u}function es(e,t){return Xn(e,t,"months")}function ts(e,t){return Xn(e,t,"monthsShort")}function ns(e,t,n){return Kn(e,t,n,"weekdays")}function ss(e,t,n){return Kn(e,t,n,"weekdaysShort")}function is(e,t,n){return Kn(e,t,n,"weekdaysMin")}function rs(){var e=this._data;return this._milliseconds=dr(this._milliseconds),this._days=dr(this._days),this._months=dr(this._months),e.milliseconds=dr(e.milliseconds),e.seconds=dr(e.seconds),e.minutes=dr(e.minutes),e.hours=dr(e.hours),e.months=dr(e.months),e.years=dr(e.years),this}function as(e,t,n,s){var i=Bt(t,n);return e._milliseconds+=s*i._milliseconds,e._days+=s*i._days,e._months+=s*i._months,e._bubble()}function os(e,t){return as(this,e,t,1)}function us(e,t){return as(this,e,t,-1)}function ls(e){return e<0?Math.floor(e):Math.ceil(e)}function ds(){var e,t,n,s,i,r=this._milliseconds,a=this._days,o=this._months,u=this._data;return r>=0&&a>=0&&o>=0||r<=0&&a<=0&&o<=0||(r+=864e5*ls(cs(o)+a),a=0,o=0),u.milliseconds=r%1e3,e=w(r/1e3),u.seconds=e%60,t=w(e/60),u.minutes=t%60,n=w(t/60),u.hours=n%24,a+=w(n/24),i=w(hs(a)),o+=i,a-=ls(cs(i)),s=w(o/12),o%=12,u.days=a,u.months=o,u.years=s,this}function hs(e){return 4800*e/146097}function cs(e){return 146097*e/4800}function fs(e){if(!this.isValid())return NaN;var t,n,s=this._milliseconds;if(e=N(e),"month"===e||"year"===e)return t=this._days+s/864e5,n=this._months+hs(t),"month"===e?n:n/12;switch(t=this._days+Math.round(cs(this._months)),e){case"week":return t/7+s/6048e5;case"day":return t+s/864e5;case"hour":return 24*t+s/36e5;case"minute":return 1440*t+s/6e4;case"second":return 86400*t+s/1e3;case"millisecond":return Math.floor(864e5*t)+s;default:throw new Error("Unknown unit "+e)}}function ms(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*v(this._months/12):NaN}function _s(e){return function(){return this.as(e)}}function ys(){return Bt(this)}function gs(e){return e=N(e),this.isValid()?this[e+"s"]():NaN}function ps(e){return function(){return this.isValid()?this._data[e]:NaN}}function ws(){return w(this.days()/7)}function vs(e,t,n,s,i){return i.relativeTime(t||1,!!n,e,s)}function Ms(e,t,n){var s=Bt(e).abs(),i=Or(s.as("s")),r=Or(s.as("m")),a=Or(s.as("h")),o=Or(s.as("d")),u=Or(s.as("M")),l=Or(s.as("y")),d=i<=xr.ss&&["s",i]||i0,d[4]=n,vs.apply(null,d)}function ks(e){return void 0===e?Or:"function"==typeof e&&(Or=e,!0)}function Ss(e,t){return void 0!==xr[e]&&(void 0===t?xr[e]:(xr[e]=t,"s"===e&&(xr.ss=t-1),!0))}function Ds(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=Ms(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Ys(e){return(e>0)-(e<0)||+e}function Os(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,s=Tr(this._milliseconds)/1e3,i=Tr(this._days),r=Tr(this._months);e=w(s/60),t=w(e/60),s%=60,e%=60,n=w(r/12),r%=12;var a=n,o=r,u=i,l=t,d=e,h=s?s.toFixed(3).replace(/\.?0+$/,""):"",c=this.asSeconds();if(!c)return"P0D";var f=c<0?"-":"",m=Ys(this._months)!==Ys(c)?"-":"",_=Ys(this._days)!==Ys(c)?"-":"",y=Ys(this._milliseconds)!==Ys(c)?"-":"";return f+"P"+(a?m+a+"Y":"")+(o?m+o+"M":"")+(u?_+u+"D":"")+(l||d||h?"T":"")+(l?y+l+"H":"")+(d?y+d+"M":"")+(h?y+h+"S":"")}var xs,Ts;Ts=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,s=0;s68?1900:2e3)};var wi,vi=ne("FullYear",!0);wi=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:_()}),Ji=function(){return Date.now?Date.now():+new Date},Bi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Ut("Z",":"),Ut("ZZ",""),Z("Z",ri),Z("ZZ",ri),B(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(ri,e)});var Qi=/([\+\-]|\d\d)/gi;e.updateOffset=function(){};var Xi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ki=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Bt.fn=Rt.prototype,Bt.invalid=Wt;var er=en(1,"add"),tr=en(-1,"subtract");e.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",e.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var nr=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});j(0,["gg",2],0,function(){return this.weekYear()%100}),j(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Nn("gggg","weekYear"),Nn("ggggg","weekYear"),Nn("GGGG","isoWeekYear"),Nn("GGGGG","isoWeekYear"),U("weekYear","gg"),U("isoWeekYear","GG"),L("weekYear",1),L("isoWeekYear",1),Z("G",si),Z("g",si),Z("GG",Bs,Zs),Z("gg",Bs,Zs),Z("GGGG",ei,qs),Z("gggg",ei,qs),Z("GGGGG",ti,Js),Z("ggggg",ti,Js),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,s){t[s.substr(0,2)]=v(e)}),Q(["gg","GG"],function(t,n,s,i){n[i]=e.parseTwoDigitYear(t)}),j("Q",0,"Qo","quarter"),U("quarter","Q"),L("quarter",7),Z("Q",zs),B("Q",function(e,t){t[hi]=3*(v(e)-1)}),j("D",["DD",2],"Do","date"),U("date","D"),L("date",9),Z("D",Bs),Z("DD",Bs,Zs),Z("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),B(["D","DD"],ci),B("Do",function(e,t){t[ci]=v(e.match(Bs)[0],10)});var sr=ne("Date",!0);j("DDD",["DDDD",3],"DDDo","dayOfYear"),U("dayOfYear","DDD"),L("dayOfYear",4),Z("DDD",Ks),Z("DDDD",$s),B(["DDD","DDDD"],function(e,t,n){n._dayOfYear=v(e)}),j("m",["mm",2],0,"minute"),U("minute","m"),L("minute",14),Z("m",Bs),Z("mm",Bs,Zs),B(["m","mm"],mi);var ir=ne("Minutes",!1);j("s",["ss",2],0,"second"),U("second","s"),L("second",15),Z("s",Bs),Z("ss",Bs,Zs),B(["s","ss"],_i);var rr=ne("Seconds",!1);j("S",0,0,function(){return~~(this.millisecond()/100)}),j(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),j(0,["SSS",3],0,"millisecond"),j(0,["SSSS",4],0,function(){return 10*this.millisecond()}),j(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),j(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),j(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),j(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),j(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),U("millisecond","ms"),L("millisecond",16),Z("S",Ks,zs),Z("SS",Ks,Zs),Z("SSS",Ks,$s);var ar;for(ar="SSSS";ar.length<=9;ar+="S")Z(ar,ni);for(ar="S";ar.length<=9;ar+="S")B(ar,zn);var or=ne("Milliseconds",!1);j("z",0,0,"zoneAbbr"),j("zz",0,0,"zoneName");var ur=g.prototype;ur.add=er,ur.calendar=sn,ur.clone=rn,ur.diff=cn,ur.endOf=Yn,ur.format=gn,ur.from=pn,ur.fromNow=wn,ur.to=vn,ur.toNow=Mn,ur.get=re,ur.invalidAt=Fn,ur.isAfter=an,ur.isBefore=on,ur.isBetween=un,ur.isSame=ln,ur.isSameOrAfter=dn,ur.isSameOrBefore=hn,ur.isValid=Rn,ur.lang=nr,ur.locale=kn,ur.localeData=Sn,ur.max=qi,ur.min=$i,ur.parsingFlags=Cn,ur.set=ae,ur.startOf=Dn,ur.subtract=tr,ur.toArray=bn,ur.toObject=Pn,ur.toDate=Tn,ur.toISOString=_n,ur.inspect=yn,ur.toJSON=Wn,ur.toString=mn,ur.unix=xn,ur.valueOf=On,ur.creationData=Un,ur.year=vi,ur.isLeapYear=te,ur.weekYear=Hn,ur.isoWeekYear=Ln,ur.quarter=ur.quarters=En,ur.month=me,ur.daysInMonth=_e,ur.week=ur.weeks=Te,ur.isoWeek=ur.isoWeeks=be,ur.weeksInYear=Vn,ur.isoWeeksInYear=Gn,ur.date=sr,ur.day=ur.days=He,ur.weekday=Le,ur.isoWeekday=Ge,ur.dayOfYear=An,ur.hour=ur.hours=Ui,ur.minute=ur.minutes=ir,ur.second=ur.seconds=rr,ur.millisecond=ur.milliseconds=or,ur.utcOffset=Gt,ur.utc=jt,ur.local=It,ur.parseZone=Et,ur.hasAlignedHourOffset=At,ur.isDST=zt,ur.isLocal=$t,ur.isUtcOffset=qt,ur.isUtc=Jt,ur.isUTC=Jt,ur.zoneAbbr=Zn,ur.zoneName=$n,ur.dates=S("dates accessor is deprecated. Use date instead.",sr),ur.months=S("months accessor is deprecated. Use month instead",me),ur.years=S("years accessor is deprecated. Use year instead",vi),ur.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Vt),ur.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Zt);var lr=T.prototype;lr.calendar=b,lr.longDateFormat=P,lr.invalidDate=W,lr.ordinal=R,lr.preparse=Bn,lr.postformat=Bn,lr.relativeTime=C,lr.pastFuture=F,lr.set=O,lr.months=le,lr.monthsShort=de,lr.monthsParse=ce,lr.monthsRegex=ge,lr.monthsShortRegex=ye,lr.week=Ye,lr.firstDayOfYear=xe,lr.firstDayOfWeek=Oe,lr.weekdays=Re,lr.weekdaysMin=Fe,lr.weekdaysShort=Ce,lr.weekdaysParse=Ne,lr.weekdaysRegex=Ve,lr.weekdaysShortRegex=je,lr.weekdaysMinRegex=Ie,lr.isPM=qe,lr.meridiem=Je,Ke("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===v(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),e.lang=S("moment.lang is deprecated. Use moment.locale instead.",Ke),e.langData=S("moment.langData is deprecated. Use moment.localeData instead.",nt);var dr=Math.abs,hr=_s("ms"),cr=_s("s"),fr=_s("m"),mr=_s("h"),_r=_s("d"),yr=_s("w"),gr=_s("M"),pr=_s("y"),wr=ps("milliseconds"),vr=ps("seconds"),Mr=ps("minutes"),kr=ps("hours"),Sr=ps("days"),Dr=ps("months"),Yr=ps("years"),Or=Math.round,xr={ss:44,s:45,m:45,h:22,d:26,M:11},Tr=Math.abs,br=Rt.prototype;return br.isValid=Pt,br.abs=rs,br.add=os,br.subtract=us,br.as=fs,br.asMilliseconds=hr,br.asSeconds=cr,br.asMinutes=fr,br.asHours=mr,br.asDays=_r,br.asWeeks=yr,br.asMonths=gr,br.asYears=pr,br.valueOf=ms,br._bubble=ds,br.clone=ys,br.get=gs,br.milliseconds=wr,br.seconds=vr,br.minutes=Mr,br.hours=kr,br.days=Sr,br.weeks=ws,br.months=Dr,br.years=Yr,br.humanize=Ds,br.toISOString=Os,br.toString=Os,br.toJSON=Os,br.locale=kn,br.localeData=Sn,br.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Os),br.lang=nr,j("X",0,0,"unix"),j("x",0,0,"valueOf"),Z("x",si),Z("X",ai),B("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),B("x",function(e,t,n){n._d=new Date(v(e))}),e.version="2.19.3",t(Yt),e.fn=ur,e.min=xt,e.max=Tt,e.now=Ji,e.utc=h,e.unix=qn,e.months=es,e.isDate=o,e.locale=Ke,e.invalid=_,e.duration=Bt,e.isMoment=p,e.weekdays=ns,e.parseZone=Jn,e.localeData=nt,e.isDuration=Ct,e.monthsShort=ts,e.weekdaysMin=is,e.defineLocale=et,e.updateLocale=tt,e.locales=st,e.weekdaysShort=ss,e.normalizeUnits=N,e.relativeTimeRounding=ks,e.relativeTimeThreshold=Ss,e.calendarFormat=nn,e.prototype=ur,e});